package com.qiuyuliantu.guide.domain;

import com.qiuyuliantu.common.annotation.Excel;
import com.qiuyuliantu.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 美食菜谱教程对象 guide_cookbook_method
 *
 * @author lmx
 * @date 2025-03-26
 */
public class GuideCookbookMethod extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 分类做法 */
    @Excel(name = "分类做法")
    private String className;

    /** 美食标题 */
    @Excel(name = "美食标题")
    private String tile;

    /** 教程 */
    @Excel(name = "教程")
    private String url;

    /** 封面图 */
    @Excel(name = "封面图")
    private String img;

    /** 作者 */
    @Excel(name = "作者")
    private String author;

    /** 作者主页 */
    @Excel(name = "作者主页")
    private String authorUrl;

    /** 标题详情 */
    @Excel(name = "标题详情")
    private String tileInfo;

    /** 分类做法 */
    @Excel(name = "分类做法")
    private String classUrl;

    /** 做法类型 */
    @Excel(name = "做法类型")
    private String type;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setClassName(String className)
    {
        this.className = className;
    }

    public String getClassName()
    {
        return className;
    }
    public void setTile(String tile)
    {
        this.tile = tile;
    }

    public String getTile()
    {
        return tile;
    }
    public void setUrl(String url)
    {
        this.url = url;
    }

    public String getUrl()
    {
        return url;
    }
    public void setImg(String img)
    {
        this.img = img;
    }

    public String getImg()
    {
        return img;
    }
    public void setAuthor(String author)
    {
        this.author = author;
    }

    public String getAuthor()
    {
        return author;
    }
    public void setAuthorUrl(String authorUrl)
    {
        this.authorUrl = authorUrl;
    }

    public String getAuthorUrl()
    {
        return authorUrl;
    }
    public void setTileInfo(String tileInfo)
    {
        this.tileInfo = tileInfo;
    }

    public String getTileInfo()
    {
        return tileInfo;
    }
    public void setClassUrl(String classUrl)
    {
        this.classUrl = classUrl;
    }

    public String getClassUrl()
    {
        return classUrl;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("className", getClassName())
            .append("tile", getTile())
            .append("url", getUrl())
            .append("img", getImg())
            .append("author", getAuthor())
            .append("authorUrl", getAuthorUrl())
            .append("tileInfo", getTileInfo())
            .append("classUrl", getClassUrl())
            .append("type", getType())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
